<?php if ($articles = $this->getArticlesBySearchTitle()): ?>
	<div style="color:blue;text-align:center;">Display <?php echo $this->getPagination()->getTotalItems(); ?> search results found</div>
	
	<?php foreach($articles as $article):?>
	<div class="article-block">	
		<h1><a href="<?php echo Epic::getUrl('blog/article/view', array('id'=>$article['article_id']))?>"><?php echo $article['title'] ?></a></h1>
		<div class="postmeta-primary">
			<span class="meta-date"><?php echo $article['created_time'] ?></span>
		</div>
		<div class="post-body clearfix">
			<div><?php echo $article['content_short'] ?></div>
			<div class="readmore"><a href="<?php echo Epic::getUrl('blog/article/view', array('id'=>$article['article_id']))?>">Read More</a></div>
		</div>
	</div>
	<?php endforeach;?>
	
	<?php echo $this->renderPaginationHtml('blog/seach-pagination.phtml'); ?>
<?php else:?>
	<div style="color:blue;width:180px;margin:0 auto;">Search Results Not Found</div>
<?php endif;?>